package com.wyh.domain.po.feemanagementpo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import com.wyh.domain.vo.feemanagementvo.ResourceListVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author ggt
 * @since 2024-06-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("layer")
public class Layeres implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 楼层名称
     */
    private String name;

    /**
     * 父级id
     */
    private Integer parentid;


    /**
     * 状态 1启用 0停用
     */
    private Integer state;

    /**
     * 资源集合
     */
    @TableField(exist = false)
    @ApiModelProperty("具体资源")
    private List<ResourceListVO> resourceesList;


}
